
package com.eshore.ezone.utils;

import android.content.SharedPreferences.Editor;

public final class Preferences {
    public static final String PREFERENCE_LOGIN_URL = "login.url";
    public static final String PREFERENCE_TRAFFIC_TIPS = "traffic.tips";

    public static void storeLoginURL(final Editor editor, String url) {
        editor.putString(PREFERENCE_LOGIN_URL, url).commit();
    }
    
    public static void StoreTrafficTipsState(final Editor editor , boolean tip) {
        editor.putBoolean(PREFERENCE_TRAFFIC_TIPS, tip).commit();
    }
}
